<template>
    <div> <button @click="text">hhhhh</button></div>
</template>

<script setup>
import { inject } from 'vue';
const isCollapse = inject("isCollapse")
const text=()=>{
    console.log(isCollapse);
}
</script>

<style>

</style>